package com.glsc.ngateway.common.base.domain.mysql.opmanage.report.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.persistence.*;

@Data
@Entity
@Table(name = "t_gltb_fund_position")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
@IdClass(GltbFundPositionId.class)
public class GltbFundPosition {
    @Id
    @Column(name="fc_date")
    @ExcelProperty("数据日期")
    private String date;

    @Id
    @Column(name="fc_product_name")
    @ExcelProperty("产品名称")
    private String productName;

    @Id
    @Column(name="fc_investment_object")
    @ExcelProperty("投资标的")
    private String investmentObject;

    @Column(name="fc_begin_date")
    @ExcelProperty("起投时间")
    private String beginDate;

    @Column(name="fc_investment_scale")
    @ExcelProperty("投资规模（万元）")
    private String investmentScale;

    @Column(name="fc_proportion")
    @ExcelProperty("占基金总规模比例")
    private String proportion;

    @Column(name="fc_valuation")
    @ExcelProperty("投资标的估值（亿元）")
    private String valuation;

    @Column(name="fc_status")
    @ExcelProperty("项目状态")
    private String status;

    @Column(name="fc_risk")
    @ExcelProperty("潜在风险因素")
    private String risk;

    public void setDate(String date) {
        this.date = date;
    }

    public String getBeginDate() {
        return beginDate;
    }

    public String getDate() {
        return date;
    }

    public void setBeginDate(String beginDate) {
        this.beginDate = beginDate;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getInvestmentObject() {
        return investmentObject;
    }

    public void setInvestmentObject(String investmentObject) {
        this.investmentObject = investmentObject;
    }

    public String getInvestmentScale() {
        return investmentScale;
    }

    public void setInvestmentScale(String investmentScale) {
        this.investmentScale = investmentScale;
    }

    public void setProportion(String proportion) {
        this.proportion = proportion;
    }

    public String getProportion() {
        return proportion;
    }

    public String getValuation() {
        return valuation;
    }

    public void setValuation(String valuation) {
        this.valuation = valuation;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public String getRisk() {
        return risk;
    }

    public void setRisk(String risk) {
        this.risk = risk;
    }
}
